package com.zxy.ziems.server.convert;

import com.zxy.ziems.server.domain.Dept;
import com.zxy.ziems.server.domain.User;
import com.zxy.ziems.server.dto.DeptDto;
import com.zxy.ziems.server.dto.UserDto;
import com.zxy.ziems.server.vo.DeptVo;
import com.zxy.ziems.server.vo.UserVo;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @description:
 * @auther: windrunner
 * @date 2022/9/1 18:45
 */
@Mapper
public interface DeptConvert {

    DeptConvert INSTANCE = Mappers.getMapper(DeptConvert.class);

    Dept deptDtoToDept(DeptDto deptDto);

    DeptVo deptToDeptVo(Dept dept);

    List<DeptVo> deptListToDeptVoList(List<Dept> dept);

}
